x86/hvm: remove default ioreq server
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 27 Aug 2018 09:30:18 +0000 (11:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 27 Aug 2018 09:30:18 +0000 (11:30 +0200)
commit629856eae2a7f766f1f024a06ad3abf1fd4b9d37
tree49e62153d691896172f0cea3d0a57880f5354c7c
parente5d6ddcd31a6113e4a3db7a235ca78770fe8f401
x86/hvm: remove default ioreq server

My recent patch [1] to qemu-xen-traditional removes the last use of the
'default' ioreq server in Xen. (This is a catch-all ioreq server that is
used if no explicitly registered I/O range is targetted).

This patch can be applied once that patch is committed, to remove the
(>100 lines of) redundant code in Xen.

NOTE: The removal of the special case for HVM_PARAM_DM_DOMAIN in
      hvm_allow_set_param() is not directly related to removal of
      default ioreq servers. It could have been cleaned up at any time
      after commit 9a422c03 "x86/hvm: stop passing explicit domid to
      hvm_create_ioreq_server()". It is now added to the new
      deprecated sets introduced by this patch.

[1] https://lists.xenproject.org/archives/html/xen-devel/2018-08/msg00270.html

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/dm.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/ioreq.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/hvm/ioreq.h
xen/include/public/hvm/params.h